﻿<div id="multiple_post">

<?php 
	
for($i=1;$i<=10 && have_posts();++$i) {
the_post();
?>

<div class="post_content_main <?PHP echo is_sticky() ? 'stickyPost' : '' ?>">
	<div class="imgParent">
	<?PHP

	if( has_post_thumbnail() && is_home() ) 
		the_post_thumbnail(array(150,150));
	else {
		echo get_avatar( get_the_author_meta('ID'),80 );
	} 
	?>
	</div>
	<div class="title">
		<a href="<?PHP the_permalink(); ?>"><div><?PHP the_title(); ?></div></a>
		<div itemscope itemtype="http://data-vocabulary.org/Person">
		<span class='homepageAuthorInfo' itemprop='name' itemprop='nickname'>লিখেছেন: <?php
		$anchorBody= get_the_author_meta('display_name');
		echo "$anchorBody";
		?></span>
		<div class="hidden"><span itemprop="role">লেখক</span> in <span itemprop="affiliation">বুয়েটিয়ান [BUETian.com]</span></div>
		</div>
	</div>

	<div class="excerpt_content_main">
	 <?PHP 
		if( false && is_sticky() ) 
		{
			the_content();
		}
		else
			the_excerpt(); //echo '[...]';
	?>
	</div>     
</div>

<?php 
}
if(function_exists('wp_simple_pagination')) 
{
    wp_simple_pagination();
} 
else
{
	echo '<h2 style="text-align:center">';
	next_posts_link('<< Previous entries|');
	previous_posts_link(' |Newer Entries >>');
	echo '</h2>';
}
?>     
</div> <!--  mutiple post div ends here -->